package com.orhon.smartcampus.modules.baseinfo.entity;

import com.orhon.smartcampus.modules.base.entity.Schools;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.annotations.NotFound;
import org.hibernate.annotations.NotFoundAction;
import org.hibernate.annotations.Where;

import javax.persistence.*;
import java.util.Date;

/**
 * 微信公众号消息推送模版表
 * 
 * @author zy
 * @date 2019年12月9日16:22:12
 */
@Setter
@Getter
@EqualsAndHashCode
@Entity
@Table(name = "weChat_template", schema = "smartcloud", catalog = "")
public class WeChatTemplate {

	/**
	 * 消息模版ID
	 */
	@Id
	@Column(name = "template_id", nullable = false)
	private String templateId;
	/**
	 * 消息模版标题
	 */
	@Column(name = "template_title", nullable = true)
	private String templateTitle;
	/**
	 * 消息类型
	 */
	@Column(name = "template_type", nullable = true)
	private String templateType;

	/**
	 * 模版图片例子
	 */
	@Column(name = "template_photo", nullable = true)
	private String templatePhoto;
}
